//
// Created by Castle-Moriarty on 2025/11/4.
//

#include <iostream>
#include <vector>
#include <string>
using namespace std;


int main() {
    // 迭代器
    vector<int> myv{1,3,3,45,6};
    // 输出迭代
    for (auto i = myv.begin(); i < myv.end(); i++) {
        cout << *i;
    }

    auto p = myv.begin();
    p += 2;
    cout << *p << endl;

    const vector<int> myvec;
    auto it1 = myvec.cbegin();
    auto it2 = myvec.cend();


    return 0;
}